-- GENERATED SPELL FOR [Highland Scytheclaw] --


function spell0_1017(pUnit, Event) --@Rend Flesh,n/a--
pUnit:FullCastSpellOnTarget(3147,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1017', 12000, 1)
end

function Sorts_1017(pUnit, Event)
local choix_sorts_1017 = math.random(0, 0)
if choix_sorts_1017 == 0 then
pUnit:RegisterEvent('spell0_1017', 1, 1)
end
end

function mob1017_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1017', math.random(1500, 3000), 1)
end

function mob1017_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1017_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1017_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1017, 1, 'mob1017_Action')
RegisterUnitEvent(1017, 2, 'mob1017_Leave')
RegisterUnitEvent(1017, 3, 'mob1017_Kill')
RegisterUnitEvent(1017, 4, 'mob1017_Die')
